package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljh
 * @since 2020-08-18
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class CmfzGuru implements Serializable {

    //private static final long serialVersionUID = 1L;

    @Excel(name = "上师编号")
    @TableId(value = "guru_id", type = IdType.AUTO)
    private Integer guruId;

    @Excel(name = "上师名字")
    private String guruName;

    @Excel(name = "上师图片地址")
    private String guruImage;

    @Excel(name = "上师法号")
    private String guruNickname;

    /**
     * 1冻结 冻结的同时需要下架相关的专辑和文章
     */
    @Excel(name = "上师状态",replace = {"正常_0","冻结_1"})
    private Integer guruStatus;

}
